package com.jk.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @author jisiqi
 * @version 1.0
 * @description: TODO    资讯管理表
 * @date 2022/10/19 14:35
 */
@Data
@TableName(value = "information")
public class InformationEntity {

    @TableId(value = "information_id",type = IdType.AUTO)
    private  Integer   informationId;      //id

    @TableField(value = "information_img")
    private  String    informationImg;        //资讯图片

    @TableField(value = "information_title")
    private  String    informationTitle;       //文章标题

    @TableField(value = "article_type")
    private  String    articleType;           //文章类型

    @TableField(value = "publisher")
    private  String    publisher;            //发布人

    @TableField(value = "publish_state")
    private  Integer    publishState;         //发布状态

    @TableField(value = "collect_count")
    private  Integer    collectCount;         //收藏量

    @TableField(value = "operation_date")
    private  String    operationDate;      //操作时间

    @TableField(exist = false)
    private  String   minDate;

    @TableField(exist = false)
    private  String   maxDate;



}
